package com.gavin.eureka.producer.producer.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author: Gavin
 * Description:
 * Date: 2019/1/16 Time: 12:01
 * Zhan Hong Copyright (c) 2018 All Rights Reserved.
 **/
@RestController
public class HelloController {

    @RequestMapping("/hello")
    public String index(@RequestParam String name) {
        return "test : hello "+name+"，this is producer 66  send first messge";
    }

}
